<template name="userStatusInfo">
	{{#if editingUserStatus}}
		{{> userStatusEdit (userStatusToEdit)}}
	{{else}}
		{{#with userStatus}}
		<div class="edit-form">
			<div class="thumb">
				{{> userStatusPreview name=name}}
			</div>
			<div class="info">
				<h3 title="{{name}}">{{name}}</h3>
			</div>
			<nav class="rc-button__group rc-button__group--stretch">
				{{#if hasPermission 'manage-user-status'}}
				<button class='rc-button rc-button--cancel delete'><span><i class='icon-trash'></i> {{_ "Delete"}}</span></button>
				<button class='rc-button rc-button--primary edit-user-satus'><span><i class='icon-edit'></i> {{_ "Edit"}}</span></button>
				{{/if}}
			</nav>
		</div>
		{{/with}}
	{{/if}}
</template>
